package icu.qx.qc.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import icu.qx.qc.domain.gbs.GbsGood;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 出货检验单对象 qc_outgoing_quality
 *
 * @author yong
 * @date 2024-06-25
 */
@JsonIgnoreProperties(value = {"handler"})
public class QcOutgoingQuality extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * out_qua_code
     */
    private String outQuaCode;

    /**
     * 检验单名称
     */
    @Excel(name = "检验单名称")
    private String outQuaName;

    /**
     * 发货日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date outQuaDate;

    /**
     * 检验日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检验日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date outQuaCheckDate;

    /**
     * 检验人
     */
    @Excel(name = "检验人")
    private Long outQuaPeo;

    /**
     * 检验人名称
     */
    @Excel(name = "检验人名称")
    private String outQuaPeoName;

    /**
     * 质检数量
     */
    @Excel(name = "质检数量")
    private BigDecimal outQuaNum;

    /**
     * 合格数量
     */
    @Excel(name = "合格数量")
    private BigDecimal outQuaGood;

    /**
     * 质检结果 1 合格 0 不合格
     */
    @Excel(name = "质检结果 1 合格 0 不合格")
    private String outQuaResult;

    /**
     * 质检产品
     */
    @Excel(name = "质检产品")
    private String outQuaProduct;
    private GbsGood gbsGood;

    /**
     * 质检批次号
     */
    @Excel(name = "质检批次号")
    private String outQuaBatch;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String outQuaDesc;

    public GbsGood getGbsGood() {
        return gbsGood;
    }

    public void setGbsGood(GbsGood gbsGood) {
        this.gbsGood = gbsGood;
    }

    public void setOutQuaCode(String outQuaCode) {
        this.outQuaCode = outQuaCode;
    }

    public String getOutQuaCode() {
        return outQuaCode;
    }

    public void setOutQuaName(String outQuaName) {
        this.outQuaName = outQuaName;
    }

    public String getOutQuaName() {
        return outQuaName;
    }

    public void setOutQuaDate(Date outQuaDate) {
        this.outQuaDate = outQuaDate;
    }

    public Date getOutQuaDate() {
        return outQuaDate;
    }

    public void setOutQuaCheckDate(Date outQuaCheckDate) {
        this.outQuaCheckDate = outQuaCheckDate;
    }

    public Date getOutQuaCheckDate() {
        return outQuaCheckDate;
    }

    public void setOutQuaPeo(Long outQuaPeo) {
        this.outQuaPeo = outQuaPeo;
    }

    public Long getOutQuaPeo() {
        return outQuaPeo;
    }

    public void setOutQuaPeoName(String outQuaPeoName) {
        this.outQuaPeoName = outQuaPeoName;
    }

    public String getOutQuaPeoName() {
        return outQuaPeoName;
    }

    public void setOutQuaNum(BigDecimal outQuaNum) {
        this.outQuaNum = outQuaNum;
    }

    public BigDecimal getOutQuaNum() {
        return outQuaNum;
    }

    public void setOutQuaGood(BigDecimal outQuaGood) {
        this.outQuaGood = outQuaGood;
    }

    public BigDecimal getOutQuaGood() {
        return outQuaGood;
    }

    public void setOutQuaResult(String outQuaResult) {
        this.outQuaResult = outQuaResult;
    }

    public String getOutQuaResult() {
        return outQuaResult;
    }

    public void setOutQuaProduct(String outQuaProduct) {
        this.outQuaProduct = outQuaProduct;
    }

    public String getOutQuaProduct() {
        return outQuaProduct;
    }

    public void setOutQuaBatch(String outQuaBatch) {
        this.outQuaBatch = outQuaBatch;
    }

    public String getOutQuaBatch() {
        return outQuaBatch;
    }

    public void setOutQuaDesc(String outQuaDesc) {
        this.outQuaDesc = outQuaDesc;
    }

    public String getOutQuaDesc() {
        return outQuaDesc;
    }


    @Override
    public String toString() {
        return "QcOutgoingQuality{" +
                "outQuaCode='" + outQuaCode + '\'' +
                ", outQuaName='" + outQuaName + '\'' +
                ", outQuaDate=" + outQuaDate +
                ", outQuaCheckDate=" + outQuaCheckDate +
                ", outQuaPeo=" + outQuaPeo +
                ", outQuaPeoName='" + outQuaPeoName + '\'' +
                ", outQuaNum=" + outQuaNum +
                ", outQuaGood=" + outQuaGood +
                ", outQuaResult='" + outQuaResult + '\'' +
                ", outQuaProduct='" + outQuaProduct + '\'' +
                ", gbsGood=" + gbsGood +
                ", outQuaBatch='" + outQuaBatch + '\'' +
                ", outQuaDesc='" + outQuaDesc + '\'' +
                "} " + super.toString();
    }
}
